<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\UserLogin
 *
 * @property int $id
 * @property mixed|null $openid
 * @property int|null $type
 * @property string|null $session_key
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property int|null $user_id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereOpenid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereSessionKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\UserLogin whereUserId($value)
 * @mixin \Eloquent
 * @property int|null $parent_id 推广人id
 * @method static \Illuminate\Database\Eloquent\Builder|UserLogin whereParentId($value)
 */
class UserLogin extends Model
{
    protected  $table='user_login';
    const WECHAT=0;
    const TOUTIAO=1;
    const  BAIDU=2;
}
